package com.recommend.recommendkeyword.mapper;

import com.recommend.recommendkeyword.entity.RecommendKeyword;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RecommendKeywordMapper {
    RecommendKeyword getWordById(int recommendId);
    int isLike(String recommendName, String seedKeyword, int isLike, int likeNum);
    RecommendKeyword getWordBySeedAndRecommend(String recommendName, String seedKeyword);
    int insertKeyword(String seedKeyword, String recommendWord, int searchUserId, int type);
    int removeById(int recommendId);
    int addCommentNum(int recommendId);
}
